<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page import="com.yaodian100.core.common.utils.ServerValue"%>
<c-rt:set var="frontContextPath" value='<%=ServerValue.getFrontContextPath()%>' />
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="javascript">
	$().ready(function(){
		if("${actionResult}"=="new_email"){
			$("#current_location").html('&nbsp;&gt;&nbsp;<a href="${frontContextPath}/member/modifydata.do">个人信息管理&nbsp;-&nbsp;修改个人信息</a>&nbsp;&gt;&nbsp;维护登录邮箱');
			$("#title_txt").text('维护登录邮箱');
		}else{
			$("#current_location").html('&nbsp;&gt;&nbsp;<a href="${frontContextPath}/member/modifydata.do">个人信息管理&nbsp;-&nbsp;修改个人信息</a>&nbsp;&gt;&nbsp;修改登录邮箱');
		}
		$("#m_m_modifyData").css("font-weight","bold");
	});
</script>
</head>
<body>
<h2 id="title_txt">修改登录邮箱</h2>
<div class="change-email">
<div class="ok-img">
	<c:choose>
		<c:when test="${actionResult == 'new_email'}">
			<p class="txt-m"><strong>您的登录邮箱地址 <span class="txt-rd">${mail}</span>已验证成功！</strong></p>
		</c:when>
		<c:otherwise>
			<p class="txt-m"><strong>您的登录邮箱地址已更新为 <span class="txt-rd">${mail}</span></strong></p>
		</c:otherwise>
	</c:choose>
<p>之后耀点100發送給您的所有通知信件，都將寄至此邮箱。 </p>
<c:if test ="${empty member.mobile}">
   	<div class="more-data">
	<strong class="txt-m">您的手机尚未验证，完成验证后，即可获得 ${completeInfoBonus} 积分！</strong><br />
	<a href="${frontContextPath}/member/modifydata.do" class="btn-mid">好，这就去</a>
	</div>
</c:if>
<c:if test ="${member.getBonus > 0}">
  	<div class="more-data">
	<strong class="txt-m">您完善并验证个人信息成功，获得 ${member.getBonus} 积分！</strong><br />
    <span>获得的积分将可以作为现金抵用订单金额！</span>
    </div>
</c:if>
</div>
<p align="center"><a href="${frontContextPath}/">回首页</a>｜<a href="${frontContextPath}/member/myyaodian.do">回我的耀点100</a>｜<a href="${frontContextPath}/member/modifydata.do">修改个人信息</a></p>
</div>
</body>
</html>